package com.monitor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * .
 *
 * @author Li Zhiyuan
 * @since 2020-11-12
 */
@SpringBootApplication
@EnableSwagger2
@EnableScheduling//开启定时任务
//配置redis缓存，允许缓存
@EnableCaching
public class MonitorApplication {
    public static void main(String[] args) {
        SpringApplication.run(MonitorApplication.class, args);
    }
}
